import axios from 'axios'

// let baseUrl = 'http://10.1.87.76:8787';
let baseUrl = 'http://www.yinliuren.com';
const service = axios.create({
  baseURL: baseUrl, // api的base_url
  timeout: 10000    // 请求超时时间
});


export function getShopInfo(params) {
  return service({
    url: '/open/consume/shop',
    method: 'get',
    params: params
  })
}
export function getMessage(params) {
  return service({
    url: '/open/consume/get_msg',
    method: 'get',
    params: params
  })
}
